package teaching.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data /*自动生成 set get toString方法*/
@NoArgsConstructor //自动生成无参构造函数
@TableName("submission")
public class Submission {
    @TableId(type = IdType.AUTO)
    private long id;
    private long studentId;
    @TableField(exist = false)
    private String studentName;
    private long homeworkId;
    private String homeworkFile;
    private java.sql.Timestamp submissionDate;
    private long score;
}
